import request from '@/utils/request'
 
/**
 * loginGo
 * @param {*} data 
 */
export function loginGo(data) {
	return request({
		url: '/login',
		method: 'post',
		data: data
	})
}

export function editProfile(data) {
	return request({
		// url: '/update_profile',
		url: '/update_profile/v2',
		method: 'post',
		data: data
	})
}


export function profileInfo() {
	return request({
		url: '/profile_info',
		method: 'get',
	})
}

export function editPassword(data) {
	return request({
		url: '/edit_password',
		method: 'post',
		data: data
	})
}
